home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / bbsutil / hsrc_117.zip / ABOUTSRC.TXT next >
Text File  |  1990-11-27  |  3KB  |  100 lines

  1. About the HeadEdit 1.17 source code:
  2. ====================================
  3.  
  4. This source was written in and compiles in the Turbo C 2.0 environment.
  5. It doesn't run too well in the environment, though.  TC is too big.
  6.  
  7.  
  8. Credit to others:
  9. ----------------
  10.  
  11. The SCREEN2.ASM file was lifted from the MSGED 2.0 source archive.  It does
  12. direct screen writes regardless of screen length (TC's cprintf() chokes on
  13. anything over 25 lines).
  14.  
  15. The swap routines are courtesy of TurboPower.  This mention satisfies
  16. the license agreement for including them.  They work good.  I got them
  17. from Mike Ratledge in a file called MIKESWAP.ZIP; you might want to talk
  18. to him about it if you want a virgin copy.
  19.  
  20. The window library I use came, originally, from Al Steven's book _Turbo
  21. C Memory-Resident Utilities, Screen I/O and Programming Techniques_ from
  22. MIS Press (excellent book).  I've since screwed it up and added support
  23. for mouse and screen sizes other than 25x80; it's now my code more than
  24. his.  But get the book, it'll at least get you started on trying to
  25. decipher the code (and undoubtedly teach you something).  At least I
  26. still use most of the same variable and function names.  :-)
  27.  
  28. Everything else I did all by my itty-bitty self.
  29.  
  30.  
  31. Some general, rambling notes:
  32. ----------------------------
  33.  
  34. If you spawn a program, be sure to do it through do_spawn(), which will
  35. save the screen on exit and restore it on return, as well as swap if
  36. enabled.
  37.  
  38. Look at pmenu.c for a place to wedge in 'isolated' routines in an
  39. easy-to-get-to manner (as part of the pull-down menus).  These routines
  40. need not be accessible via keystroke (gettin' kinda crowded in here,
  41. anyway).
  42.  
  43. I've made no attempt to make it easy to interface to message base types
  44. other than the XBBS-style message base.  The XBBS-style is faster and
  45. more economical than the *.MSG-style and is more secure than the
  46. Quick-style.  It doesn't use a B-tree index file, but I just couldn't
  47. justify the space required by the index vs. speed gain.  The law of
  48. diminishing returns seemed to apply.
  49.  
  50. If you want to overlay HeadEdit (you probably should; it's pretty big),
  51. I suggest you only overlay the following modules (your mileage may
  52. vary):
  53.  
  54. kmenu
  55. scanmess
  56. postmess
  57. carbomb
  58. cvrtstrg
  59. getstuff
  60. listpick
  61. lastread
  62. config
  63. edittext
  64. export
  65. movemess
  66. killjunk
  67. loadarea
  68. fndfarea
  69. notepad
  70. editor
  71. editor2
  72. select
  73. headlzss
  74. head2
  75. search
  76. printer
  77. pmenu
  78. editnode
  79. info
  80. mailin
  81. mailout
  82. dorcpt
  83. moderate
  84. makemgid
  85.  
  86. About the built-in scanner/tosser:  First, it works only for
  87. end-of-the-line point systems.  Second, it doesn't do any dupe checking;
  88. just accepts anything addressed to it without further question. Finally,
  89. there are a few other limitations. It could, admittedly, use some work.
  90. So here's the source; get busy, and send code<tm>.
  91.  
  92. The built-in editor is also kinda strange; just threw it in on a lark,
  93. don't use it myself.  If you take the time to fix it up slick, send
  94. code<re-tm>.
  95.  
  96.  
  97. M. Kimes
  98. 1:380/16.0@fidonet
  99. (318)222-3455 data
  100.